package org.cjlm.itf;

import org.cjlm.vo.comp.AttributeVO;
import org.cjlm.vo.comp.CompVO;
import org.cjlm.vo.comp.EntityVO;

import java.util.List;

public interface CompDAO {
    public CompVO save(CompVO compVO) throws Exception;
    public CompVO insert(CompVO compVO) throws Exception;
    public CompVO update(CompVO compVO) throws Exception;
    public CompVO delete(CompVO compVO) throws Exception;
    public List<CompVO> query(CompVO queryVO) throws Exception;
    public CompVO queryByPk(CompVO queryVO) throws Exception;

    public EntityVO save(EntityVO entityVO) throws Exception;
    public EntityVO insert(EntityVO entityVO) throws Exception;
    public EntityVO update(EntityVO entityVO) throws Exception;
    public EntityVO delete(EntityVO entityVO) throws Exception;
    public List<EntityVO> query(EntityVO queryVO) throws Exception;
    public EntityVO queryByPk(EntityVO queryVO) throws Exception;

    public AttributeVO save(AttributeVO attributeVO) throws Exception;
    public AttributeVO insert(AttributeVO attributeVO) throws Exception;
    public AttributeVO update(AttributeVO attributeVO) throws Exception;
    public AttributeVO delete(AttributeVO attributeVO) throws Exception;
    public List<AttributeVO> query(AttributeVO queryVO) throws Exception;
    public AttributeVO queryByPk(AttributeVO queryVO) throws Exception;
}
